﻿<!-- Ree7 Tile Toolkit for Windows Phone
     Copyright (C) 2011-2014 Pierre BELIN <pierre@ree7.fr>, and project contributors.

     Distributed under the Microsoft Public License (Ms-PL).
     See accompanying file License.txt -->
    
<UserControl x:Class="Ree7.TileToolkit.TileTemplates.SmallIconAndLabelTileTemplate"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Foreground="White"
    Height="159" Width="159">
    <UserControl.Resources>
		<Style TargetType="TextBlock" x:Key="TileCountStyle">
			<Setter Property="VerticalAlignment" Value="Center"/>
			<Setter Property="FontFamily" Value="Segoe WP Semibold"/>
			<Setter Property="FontSize" Value="60"/>
			<Setter Property="TextOptions.TextHintingMode" Value="Animated"/>
		</Style>
	</UserControl.Resources>
    
    <Grid x:Name="LayoutRoot">
        <StackPanel Orientation="Horizontal"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center">
            <Image x:Name="TileIcon" Stretch="None" VerticalAlignment="Center" />
            <TextBlock x:Name="TileLabel" Style="{StaticResource TileCountStyle}"
                       Text="99"/>
        </StackPanel>
    </Grid>
</UserControl>
